package com.gitee.giteego.springboot.mavendemo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: zhangyy
 * @Email: zhang10092009@hotmail.com
 * @Date: 2020/12/22 17:44
 * @Version: v1.0
 * @Modified：
 * @Description:
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping("/")
    public String index(){
        return "Test Gitee Go";
    }
    @GetMapping("/myTest")
    public String test() {
        return "你好，测试 Gitee Go";
    }
}
